package com.woniu.mealsService.service;

import com.woniu.mealsService.model.Address;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 地址表 服务类
 * </p>
 *
 * @author jiang
 * @since 2024年12月09日
 */
public interface AddressService extends IService<Address> {

    void insertAddress(String addressName, String operatorId, String consignee, String consigneePhone);

    void updateAddress(String newAddressName, Integer addressId,  String consignee, String consigneePhone);

    void setDefaultAddress(Integer addressId, Integer userId);
}
